<?php

require_once( 'mvc/request-factory.php' );

abstract class Flexical_Admin_Request_Factory extends MVC_Request_Factory
{
	public function get_request_type( $request )
	{
		return array_key_exists( 'request_type', $request ) ? $request[ 'request_type' ] : 'show_about';
	}

	public function get_confirmation( $request )
	{
		return isset( $request[ 'confirmed' ] );
	}

	public function get_cancel_selected( $request )
	{
		return isset( $request[ 'cancel_selected' ] );
	}
}

?>
